package com.diorsunion.hedge.dal.repository.account;

import com.diorsunion.hedge.common.BaseRepository;
import com.diorsunion.hedge.dal.entity.account.Account;
import com.diorsunion.hedge.dal.entity.account.AccountAssets;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * 账户资产表
 * Created by custe on 2016/8/9.
 */
public interface AccountAssetsRepository extends BaseRepository<AccountAssets, Integer> {
    List<AccountAssets> findByDate(@Param("account") Account account, @Param("begin")Date begin, @Param("end")Date end);
}
